-- IphoneScreen
-- 没有用→_→
IphoneScreen = {}

IphoneScreen.Mode = LANDSCAPE_ANY

function IphoneScreen.setIphone5()
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = 1136
        HEIGHT = 640
    else
        WIDTH = 640
        HEIGHT = 1136
    end
end

function IphoneScreen.setIphone6()
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = 1334
        HEIGHT = 750
    else
        WIDTH = 750
        HEIGHT = 1334
    end
end

function IphoneScreen.setIphone6Plus()
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = 2208
        HEIGHT = 1242
    else
        WIDTH = 1242
        HEIGHT = 2208
    end
end

function IphoneScreen.setIpad2()
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = 1024
        HEIGHT = 768
    else
        WIDTH = 768
        HEIGHT = 1024
    end
end

function IphoneScreen.setIpadAir()
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = 2048
        HEIGHT = 1536
    else
        WIDTH = 1536
        HEIGHT = 2048
    end
end

function IphoneScreen.setSize(width,height)
    if IphoneScreen.Mode == LANDSCAPE_ANY then
        WIDTH = width
        HEIGHT = height
    else
        WIDTH = height
        HEIGHT = width
    end
end